<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix = "s" uri ="/struts-tags" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add_project.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  
   <s:form action="save_student_info">

  	<s:radio label="性别" list="{'男','女'}" name="student.sex" value="#session.stu.sex"></s:radio><br/>
  	<s:textfield label="学院/专业" name="student.faculty" value="%{#session.stu.faculty}"></s:textfield><br/>
    <s:select label="年级" list="{'2011','2010','2009','2008','2007','2006','2005','2004','2003'}" name="student.grade" value="#session.stu.grade"></s:select><br/>
    <s:textfield label="手机号码" name="student.phone" value="%{#session.stu.phone}"></s:textfield><br/>
    <hr/>
    
    <s:label label="自我简介" ></s:label><br>
    <s:textarea  name="student.introduce " value="%{#session.stu.introduce}" cols="100" rows="10" wrap="true"></s:textarea><br/><br/>
    
    <s:label label="技能"></s:label><br>
    <s:textarea  name="student.skill" value="%{#session.stu.skill}" cols="100" wrap="true" rows="10"></s:textarea><br/><br/>
    
    <s:label label="项目经历" ></s:label><br>
    <s:textarea  name="student.experience " value="%{#session.stu.experience}" cols="100" wrap="true" rows="10"></s:textarea><br/><br/>
    
    <s:label label="老师评价" ></s:label><br>
    <s:textarea  name="student.evaluate"  value="%{#session.stu.evaluate}" cols="100" wrap="true" rows="10"></s:textarea><br/><br/>
    
    <s:label label="希望学习方向" ></s:label><br>
    <s:textarea  name="student.will" value="%{#session.stu.will}" cols="100" wrap="true" rows="10"></s:textarea><br/><br/>
   <s:submit label="保存"></s:submit>
   </s:form>
  </body>
</html>
